$fontSize_14: 0.8vw;
$fontSize_16: 0.9vw;
$fontSize_18: 1vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.26vw;
$fontSize_28: 1.3vw;
$fontSize_32: 1.4vw;
$fontSize_36: 1.8vw;
$fontSize_40: 2.1vw;
$fontSize_48: 2.5vw;
$fontSize_50: 2.6vw;
$fontSize_54: 2.7vw;
$fontSize_64: 3.2vw;
$fontSize_70: 3.5vw;
$fontSize_90: 4.5vw;
$fontSize_100: 5vw;
$fontSize_200: 10vw;
$width: 82.292vw;

body {
  background: #F7F7F7;
}

.home {
  position: relative;
  width: 100%;

  .main {
    width: 90vw;
    margin: 12vw auto 5vw auto;
    display: flex;
    justify-content: space-between;

    .l {
      color: #333;
      font-size: $fontSize_48;
      font-weight: bold;
      text-transform: uppercase;
    }

    .r {
      width: 70%;

      .t1 {
        color: #333;
        font-size: $fontSize_18;
        line-height: 1.8;
      }

      .form {
        margin-top: 2vw;

        .item {
          border-top: 1px solid rgba(153, 153, 153, 0.40);
          display: flex;
          align-items: center;
          justify-content: space-between;

          .tag {
            color: #333;
            font-size: $fontSize_18;
            width: 15%;
          }

          .nr {
            width: 85%;

            input {
              width: 100%;
              background-color: transparent;
              outline: none;
              border: none;
              padding: 2vw 0;
              color: rgba(102, 102, 102, 0.8);
              font-size: $fontSize_18;
            }
          }
        }

        .item2 {
          flex-direction: column;
          align-items: flex-start;
          padding: 2vw 0;

          .tag {
            width: 100%;
          }

          .nr {
            width: 100%;
            margin-top: 2vw;

            textarea {
              width: calc(100% - 40px);
              background-color: transparent;
              outline: none;
              border: none;
              color: rgba(102, 102, 102, 0.8);
              font-size: $fontSize_18;
              border-radius: 6px;
              border: 1px solid rgba(153, 153, 153, 0.40);
              resize: none;
              padding: 20px;
              &::placeholder{
                font-family: Arial,Microsoft YaHei,sans-serif;
              }
            }
          }
        }

        .submit {
          text-align: right;

          p {
            display: inline-block;
            border-radius: 6px;
            border: 1px solid #DA353B;
            background: #DA353B;
            color: #FFFBFB;
            font-size: $fontSize_22;
            padding: 8px 15px;
            cursor: pointer;
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .main {
      margin: 20px auto;
      flex-direction: column;
      .l{
        font-size: 24px;
      }
      .r{
        width: 100%;
        margin-top: 10px;
        .t1{
          font-size: 16px;
          text-align: justify;
          line-height: 1.5;
        }
        .form{
          margin-top: 20px;
          .item{
            .tag{
              font-size: 14px;
              width: 20%;
            }
            .nr{
              width: 80%;
              input{
                padding: 15px 0;
                font-size: 14px;
              }
            }
          }
          .item2{
            padding: 15px 0;
            .nr{
              width: 100%;
              textarea{
                font-size: 14px;
              }
            }
          }
          .submit{
            p{
              font-size: 16px;
            }
          }
        }
      }
    }
  }
}